﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace Exhibition.IService
{
   public interface IOperatingDataService
    {
       bool DeleteData(int id, string tableName);
       T SelectData<T>(int id, string tableName);
       int ExecuteNonQuery(string strSQL);
       DataTable GetCommonData(string tableName);
       DataTable GetCommonData(string tableName, int rows, int page, string orderString, string isdel, out int total);
       DataTable GetCommonData(string tableName, int rows, int page, string orderString, out int total);
       DataTable GetSingleData(string tableName, string where);
       int DataIsDistanct(string tableName, int id, string codeName, string codeValue, string isDelete);

       bool PhyDeleteData(int id, string tableName);
    }
}
